<table border="0" cellspacing="0" cellpadding="0" width="100%" class="MinHig">
  <tr>
    
	<td valign="top" width="100%"><div class="ColExp">
<div class="ModuleBlock MinHig">
<h1>
<label>Forgot Password</label>

</h1>
<div class="clear"></div>
<div id="errorMsg"><?php echo $ctx->msg;?></div>
<div class="pad_123 pad_btl20" align="center">
<table border="0" cellspacing="0" cellpadding="0">
<tr><td height="50">&nbsp;</td></tr>
  <tr>
    <td>
	<form id="fgtpass" class="ChgPas" name="fgtpass" method="POST" action="/home/index/forgot-password">
	<div class="pad_t8">
		<label>Email ID</label>&nbsp;<input type="text" id="email" value="" name="email" class="wid240 GryBorder" />
		<div class="clear"></div>
		</div>
        <div class="pad_t8">
		<label>Confirm Email ID</label>&nbsp;<input type="text" id="cnfemail" value="" name="cnfemail" class="wid240 GryBorder" />
		<div class="clear"></div>
		</div>
         <div class="pad_t5"><label>&nbsp;</label><a class="Button" href="javascript:void(0);" onclick="validate_email();"><span>Submit</span></a><a class="Button" href="javascript:void(0);" onclick="cancel_email();"><span>Cancel</span></a></div>
	</form>
    </td>
  </tr>
</table>



</div>


<div class="clear"></div>
</div>
</div></td>
	
  </tr>
</table>
  <script type="text/javascript">
  function validate_email()
{
	if($('#email').val()=='')
	{
		alert("Please enter username");
		return false;
	}
	if($('#cnfemail').val()=='')
	{
		alert("Please enter password");
		return false;
	}
	if($('#cnfemail').val()!=$('#email').val())
	{
		alert("confirm email not match");
		return false;
	}
	$('#fgtpass').submit();
	//return result;
}
 function cancel_email()
{
	//$('#email').val()="";
	//$('#cnfemail').val()="";
	return true;
}
  
  </script>
